# 基础镜像
FROM openjdk:8-jdk-alpine
VOLUME /tmp
ADD ./target/coj-backend-question-service-0.0.1-SNAPSHOT.jar app.jar
EXPOSE 8103
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "/app.jar", "--spring.profiles.active=prd"]